﻿<%@ Language="C#" Inherits="System.Web.Mvc.ViewPage<IList<DNBProject.Model.ReportPartial.MeasureSampleModel>>" %>
<style type="text/css">
        fieldset legend {
            display: block;
        }
        
        .table_header1
        {
            font-family: Tahoma;
            font-size: 11px;
            line-height: normal;
            font-weight: bold;
            text-align: center;
            border: 1px solid #000000;
            border-collapse: collapse;
            border-style: solid;
            border-color: #F1F1F1;
        }
        
        .table_cell {
            font-family: Tahoma;
            font-size: 11px;
            line-height: normal;
            font-weight: bold;
            text-align: center;
            border: 1px solid #000000;
            border-collapse: collapse;
            border-style: solid;
            border-color: #F1F1F1;
        }
        
        .sampleCheckBox { }

        .sampleRow { }
</style>
<table border="0" cellspacing="0" style="width: 98%">
    <tr>
            <td  class="table_header1" style="width: 20px">
                <input value="chon1" id="allSampleCheckBox" type="checkbox" checked="CHECKED" /> 
            </td>
            <td  class="table_header1" style="text-align: left">
                Chọn tất cả
            </td>
    </tr>
</table>
<table border="0" cellspacing="0" id="sampleData" style="width: 98%; table-layout:auto">
        <tr style="background-color:#C3DFF4">
            <th class="table_header1" style="width: 40px">Chọn</th>
            <th class="table_header1" style="width: 60px">Đợt lấy mẫu</th>
            <th class="table_header1" style="width: 80px">Thời gian bắt đầu</th>
            <th class="table_header1" style="width: 80px">Thời gian kết thúc</th>
            <th class="table_header1" style="width: auto">Lý do</th>
            <th class="table_header1" style="width: auto">Ghi chú</th>
        </tr>
        <% foreach (var item in Model)
           {%>
       <tr style="background-color:#C3DFF4;" class="sampleRow">
            <td class="table_cell">
                <input type="checkbox" class="sampleCheckBox" checked="checked" value="<%:item.Id %>"/>
            </td>
            <td class="table_cell">
                <%:item.Name %>
            </td>
            <td class="table_cell">
                <%:item.BeginTime %>
            </td>
            <td class="table_cell">
                <%:item.FinishTime %>
            </td>
            <td class="table_cell">
                <%:item.Reason %>
            </td>
            <td class="table_cell">
                <%:item.Note %>
            </td>
        </tr>
           <%} %>
</table>